$OpenBSD: patch-jdk_src_solaris_classes_sun_awt_X11_XWM_java,v 1.3 2015/05/11 14:47:45 kurt Exp $
--- jdk/src/solaris/classes/sun/awt/X11/XWM.java.orig	Thu May  7 15:30:15 2015
+++ jdk/src/solaris/classes/sun/awt/X11/XWM.java	Thu May  7 15:30:46 2015
@@ -578,7 +578,7 @@ final class XWM
     }
 
     static boolean isMutter() {
-        return isNetWMName("Mutter");
+        return isNetWMName("Mutter") || isNetWMName("GNOME Shell");
     }
 
     static boolean isNonReparentingWM() {
